package com.qf.service.impl;

import com.qf.bean.Orderstate;
import com.qf.mapper.OrderstateMapper;
import com.qf.service.OrderstateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 2019/12/9 0009
 * Administrator
 * 江朝西暮，湖晨南曦
 */
@Service
public class OrderstateServiceImpl implements OrderstateService {

    @Autowired
    private OrderstateMapper orderstateMapper;

    public List<Orderstate> findAllStates(){
        return orderstateMapper.selectAll();
    }
}
